-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(Mergify): configuration update #666
Conversation
Signed-off-by: zakir <null>
WalkthroughThe changes introduce a new configuration file for Mergify that automates pull request management in a repository. It establishes queue rules requiring two approved reviews for processing PRs, defines rules for automatic merging, backporting patches, notifying authors of conflicts, and managing queue labels. Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range, codebase verification and nitpick comments (1)
.mergify.yml (1)
7-19
: Add a condition to check for the absence of thedo-not-merge
label.To prevent accidental merges, consider adding a condition to check for the absence of the
do-not-merge
label.Apply this diff to add the condition:
conditions: - "#approved-reviews-by>=2" - base=main - label = automerge + - label != do-not-merge
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (1)
- .mergify.yml (1 hunks)
Additional comments not posted (4)
.mergify.yml (4)
1-5
: LGTM!The
queue_rules
section is correctly defined.
20-27
: LGTM!The "backport patches to v7.5.x branch" rule is correctly defined.
28-37
: LGTM!The "Ping PR author when conflicting" rule is correctly defined.
38-45
: LGTM!The "Add a queue label when PR is queued" rule is correctly defined.
This change has been made by @zakir-code from the Mergify config editor.
Summary by CodeRabbit